<template>
    <Breadcrumb :style="{margin: '24px 0'}">
        <BreadcrumbItem v-for="(v, k) in bread" :key="k">{{v}}</BreadcrumbItem>
    </Breadcrumb>
</template>
<script>
import { Breadcrumb, BreadcrumbItem } from 'view-ui-plus';
export default {
    data(){
        return {
            bread: []
        }
    },
    mounted(){
        let temp = this.$route.fullPath.split('/');
        this.bread = temp;
    }
}
</script>
